package com.njworkorder.Service;

import com.github.yulichang.base.MPJBaseService;
import com.github.yulichang.wrapper.MPJLambdaWrapper;
import com.njworkorder.Entity.Assignment;
import com.njworkorder.Entity.AssignmentWithDisease;
import com.njworkorder.Entity.BillOfQuantities;
import com.njworkorder.VO.AssignmentProgressVos.AssignmentInfo;

import java.util.List;
import java.util.concurrent.CompletableFuture;

/**
* @author iron
* @description 针对表【assignment】的数据库操作Service
* @createDate 2024-11-12 13:55:06
*/
public interface AssignmentService extends MPJBaseService<Assignment> {

    String getTaskOrderNumber();

    MPJLambdaWrapper<Assignment> getMPJWrapper();

    MPJLambdaWrapper<AssignmentWithDisease> getDetailMPJWrapper();

    CompletableFuture<AssignmentInfo> getAssignmentInfo(String id);

    CompletableFuture<List<BillOfQuantities>> getBillOfQuantities(int year);
}
